<template>
    <info-self v-if="self"></info-self>
    <info-other v-else></info-other>
</template>

<script>
    import InfoSelf from './self'
    import InfoOther from './other'

    export default {
        name: 'info',
        components: {
            InfoSelf,
            InfoOther
        },
        props: {
            self: {
                type: Boolean,
                required: false,
                default: false
            }
        }
    }
</script>

<style scoped>

</style>
